package scheduler.model;

import org.mybeans.dao.DAOException;

import scheduler.databean.SavedSchedule;

public interface SavedScheduleDao {
    public SavedSchedule[] getAll() throws DAOException;
    public SavedSchedule[] getSavedSchedules(String userName) throws DAOException;
    public SavedSchedule getCurrentSchedule(String userName) throws DAOException;
    public SavedSchedule create() throws DAOException;
    public SavedSchedule create(String userName, boolean currentSchedule, int year, String semester, int[] scheduledIds, String[] courseNames) throws DAOException;
    public SavedSchedule lookup(int id) throws DAOException;
    public void delete(int id) throws DAOException;
}
